package com.example.drools.spring.entity;

import java.io.Serializable;
import java.util.List;
import java.util.Map;
import lombok.Getter;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;

/**
 * @author ddsyw
 * @version 1.0
 * @date 2021/12/28 4:53 下午
 */
@Getter
@Setter
@Slf4j
public class Product extends DroolEntity implements Serializable {

    private String productName;

    private String shortName;

    private int size;
    /**
     * stringMaps
     */
    private Map<String, String> stringMaps;

    private List<String> checkFields;

    public void recordPointLog() {
        log.info(" product is null");
    }

    @Override
    public String toString() {
        return "Product{" +
            "productName='" + productName + '\'' +
            ", shortName='" + shortName + '\'' +
            ", size=" + size +
            ", stringMaps=" + stringMaps +
            ", checkFields=" + checkFields +
            '}';
    }
}
